package com.hy;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

//向所有服务注册中心注册
@EnableDiscoveryClient
//忽略数据源
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
public class HyGatewayApplication {

    public static void main(String[] args) {

        SpringApplication.run(HyGatewayApplication.class, args);

    }

}
